@echo Deploying Code for FBAManagement solution

@set PATH=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin;%PATH%

@if "%1"=="" (goto invalidParameters)

gacutil /i bin\Debug\CKS.EWE.dll /f

%systemroot%\system32\iisapp.vbs /a "%1" /r


@goto endOfBatch

:invalidParameters
	@echo Please call with the correct parameters.
	@echo The correct syntax of this command is:
	@echo CodeDeploy [AppPoolName]

:endOfBatch